part of 'cpc_report_bloc.dart';

sealed class CpcReportEvent extends Equatable {
  const CpcReportEvent();
}


class CpcWaybillManagementEvent extends CpcReportEvent {

  String? sheetName;
  File? file;

  CpcWaybillManagementEvent({this.file, this.sheetName});

  @override
  List<Object?> get props => [file,sheetName];

}

class CpcChinaPostLuggageEvent extends CpcReportEvent {

  String? sheetName;
  File? file;

  CpcChinaPostLuggageEvent({this.file, this.sheetName});

  @override
  List<Object?> get props => [file,sheetName];

}

class CpcFeeitemlistEvent extends CpcReportEvent {

  String? sheetName;
  File? file;

  CpcFeeitemlistEvent({this.file, this.sheetName});

  @override
  List<Object?> get props => [file,sheetName];

}

class CpcLuggeasyEvent extends CpcReportEvent {

  String? sheetName;
  File? file;

  CpcLuggeasyEvent({this.file, this.sheetName});

  @override
  List<Object?> get props => [file,sheetName];

}

class CppDataMergeEvent extends CpcReportEvent {

  final List<WaybillManagementBean> waybillManagementList;
  final List<ChinaPostLuggageBean> chinaPostLuggageList;
  final List<FeeItemBean> feeItemList;
  final List<LuggeasyBean> luggeasyList;

  const CppDataMergeEvent({required this.waybillManagementList, required this.chinaPostLuggageList, required this.feeItemList, required this.luggeasyList});

  @override
  List<Object?> get props => [waybillManagementList, chinaPostLuggageList, feeItemList, luggeasyList];
}

class CpcWriteFileEvent extends CpcReportEvent {

  final List<CpcResultBean> cpcResultList;
  final File writeFile;
  final String writeName;

  const CpcWriteFileEvent({required this.cpcResultList, required this.writeFile, required this.writeName});

  @override
  List<Object?> get props => [cpcResultList,writeFile,writeName];
}